-- GENERATED SPELL FOR [Moonrage Whitescalp] --


function spell0_1769(pUnit, Event) --@Frost Armor,Self--
pUnit:FullCastSpellOnTarget(12544,pUnit)
pUnit:RegisterEvent('Sorts_1769', 0, 1)
end

function Sorts_1769(pUnit, Event)
local choix_sorts_1769 = math.random(0, 0)
if choix_sorts_1769 == 0 then
pUnit:RegisterEvent('spell0_1769', 1, 1)
end
end

function mob1769_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1769', math.random(1500, 3000), 1)
end

function mob1769_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1769_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1769_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1769, 1, 'mob1769_Action')
RegisterUnitEvent(1769, 2, 'mob1769_Leave')
RegisterUnitEvent(1769, 3, 'mob1769_Kill')
RegisterUnitEvent(1769, 4, 'mob1769_Die')
